home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir36 / zipall12.zip / ZIPTXT.BAT < prev   
DOS Batch File  |  1993-05-02  |  544b  |  19 lines

  1. @echo off
  2. REM
  3. REM ZIPTXT.BAT
  4. REM
  5. REM This BAT file can be executed from within any subdirectory to cause PKZIP
  6. REM to implode every *.TXT in the current directory into a single file called
  7. REM TXT.ZIP using the -m parameter to move the original files into TXT.ZIP.
  8. REM Use the UNZIPTXT.BAT file when necessary.
  9. REM
  10. pkzip txt *.txt -m -ex
  11. if errorlevel 1 goto errexit
  12. dir
  13. echo TXT.ZIP has been successfully created and original files deleted.
  14. goto exit
  15. :errexit
  16. echo Error in execution of PKZIP (via ZIPTXT.BAT).
  17. :exit
  18. echo on
  19.